package com.jz.beijianbao.legalperson.bean;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class LegalPersonAdd {
    @NotNull(message = "id不能为空")
    private Integer id;
    @NotNull(message = "名称不能为空")
    private String legalPersonName;
    @NotNull(message = "编号不能为空")
    private String legalPersonCode;
    @NotBlank(message = "状态不能为空")
    private Boolean status;
    @NotNull(message = "用户id不能为空")
    private Integer userId;


}
